package edu.wpi.first.wpilibj.templates.commands;

import edu.wpi.first.wpilibj.DriverStationLCD;

public class DoMoveShooterZ extends CommandBase {
  
    public DoMoveShooterZ() {
        requires(MyShooter);
    }

    protected void initialize() {
  }

    protected void execute() {
        double Speed = MyOperatorInterface.GetShooterJoysitckZ();
        MyShooter.Move(Speed);
        //Outputs shooter speed to dashboard
        DriverStationLCD lcd = DriverStationLCD.getInstance();
        Speed = Speed*100;
        DriverStationLCD.getInstance().println(
                DriverStationLCD.Line.kUser2, 1,
                " Shooter Speed: " + Speed);
        lcd.updateLCD();
    }
                
    protected boolean isFinished() {
        return false;
    }

    protected void end() {
    }

    protected void interrupted() {
    }
}